home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Thick, Dashed line bug in ODF?
- Sent: 9/10/96 12:04 PM
- Received: 9/10/96 12:04 PM
- From: Brad Pettit <bpettit@apple.com>
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- The dashed line implementation is based on the behavior of Windows. The
- only dashed line supported by the framework is pensize 1 (actually, a
- pensize 0 hairline works, too). Windows behaves this way, and we
- implemented the same dashed line for Mac. Due to various concerns (such
- as performance) with line caps, and rectangular pens, this hasn't been
- implemented for other sizes.
-
- --Brad
-
- >I have noticed that FW_CLineShape::RenderLine() does not render a thick
- >dashed lined in ODF DR1. It renders only a thick line. If the pen's size is
- >changed to 1 pixel, it will then render a dashed line correctly. If the
- >pen's size is > 1 without a dashed line, it draws the thick line
- >correctly. But it won't draw both together.
- >
- >I call FW_CLineShape::RenderLine(gc, start, end, ink, style), where the
- >style's pen size has been set using style.SetPenSize( newPenSize ), and the
- >style's dash has been set using style.SetDashStyle( newPenDash )
- >
- >Indeed a bug?
- >
- >Arni